import request from '@/utils/request'

/*// 删除工资数据
export function deleteSalary (query) {
    return request({
        url: '/system/salaryDetail/remove',
        method: 'get',
        params: query,
    })
}*/
export function saveDeptLogo (query) {
    return request({
        url: '/system/saveDeptLogo',
        method: 'post',
        data: query,
    })
}

export function getDeptLogo (query) {
  return request({
    url: '/system/deptLogo',
    method: 'get',
    params: query,
  })}

  export function saveBanner (query) {
    return request({
      url: '/system/saveBanner',
      method: 'post',
      data: query,
    })
  }

  export function getBanner (query) {
    return request({
      url: '/system/banner',
      method: 'get',
      params: query,
    })
}
export function listUpdate (data) {
  return request({
    url: '/system/appUpdate/list',
    method: 'post',
    data: data
  })
}

export function addUpdate (data) {
  return request({
    url: '/system/appUpdate/add',
    method: 'post',
    data: data
  })
}
export function getHomeData (query) {
  return request({
    url: '/system/home',
    method: 'post',
    params: query,
  })


}



